package com.atguigu.day12.equals01;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/13 9:41
 * @注释
 */
public class DogTest {
    public static void main(String[] args) {
        Dog d1 = new Dog("张三",15);
        Dog d2 = new Dog("张三",15);


        System.out.println(d1.equals(d2));

    }
}
